package com.hongdee.crm.task.mapper;

import com.hongdee.crm.task.pojo.TCrmTaskRealPojo;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * Created by Liu XiaoLong
 * Date: 2017/12/21.
 * Remark:
 */
@Mapper
public interface ITCrmTaskRealMapper {

    @SelectProvider(type = ITCrmTaskRealQuery.class,method = "getPlateNumForInsuranceTaskToday")
    @Results(
            {
                    @Result(id = true, column = "id", property = "id"),
                    @Result(column = "VIN", property = "VIN"),
                    @Result(column = "plateNum", property = "plateNum")
            }
    )
    List<TCrmTaskRealPojo> getPlateNumForInsuranceTaskToday(@Param("date") String date,@Param("companyId") String companyId);
}
